home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / c / objam01.lha / objam / objc / runtime.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-10  |  1.5 KB  |  47 lines

  1. /*
  2. ** ObjectiveAmiga: Runtime internal declarations
  3. ** See GNU:lib/libobjam/ReadMe for details
  4. */
  5.  
  6.  
  7. #ifndef __objc_runtime_INCLUDE_GNU
  8. #define __objc_runtime_INCLUDE_GNU
  9.  
  10. #include <stdio.h>
  11. #include <ctype.h>
  12.  
  13. #include <stdarg.h>
  14. #include <stddef.h>
  15. #include <assert.h>
  16.  
  17. #include <objc/objc.h>        /* core data types */
  18. #include <objc/objc-api.h>    /* runtime api functions */
  19.  
  20. #include <objc/list.h>        /* linear lists */
  21.  
  22. extern void __objc_add_class_to_hash(OCClass*);                 /* (objc-class.c)     */
  23. extern void __objc_init_selector_tables();                      /* (objc-sel.c)       */
  24. extern void __objc_init_class_tables();                         /* (objc-class.c)     */
  25. extern void __objc_init_dispatch_tables();                      /* (objc-dispatch.c)  */
  26. extern void __objc_install_premature_dtable(OCClass*);          /* (objc-dispatch.c)  */
  27. extern void __objc_resolve_class_links();                       /* (objc-class.c)     */
  28. extern void __objc_register_selectors_from_class(OCClass*);     /* (objc-sel.c)       */
  29. extern void __objc_update_dispatch_table_for_class (OCClass*);  /* (objc-msg.c)       */
  30. extern void class_add_method_list(OCClass*, MethodList_t);
  31.  
  32. /* True when class links has been resolved */     
  33. extern BOOL __objc_class_links_resolved;
  34.  
  35. /* Number of selectors stored in each of the selector tables */
  36. extern int __objc_selector_max_index;
  37.  
  38. #ifdef DEBUG
  39. #define DEBUG_PRINTF printf
  40. #else
  41. #define DEBUG_PRINTF
  42. #endif 
  43.  
  44. BOOL __objc_responds_to (id object, SEL sel); /* for internal use only! */
  45.  
  46. #endif /* not __objc_runtime_INCLUDE_GNU */
  47.